Mainly for modularity reasons, you know that graph and attributes are separated in gephi. You may also know that you can write attribute values only if the column exists; and has therefore been created somehow.
The pushFrom method fails here because the columns haven't been created in the new workspace. Its a pity it doesn't take this classic issue in account and raise a proper exception.
Anyway, do that to duplicate the attribute model in the new workspace:
Mainly for modularity reasons, you know that graph and attributes are separated in gephi. You may also know that you can write attribute values only if the column exists; and has therefore been created somehow.
The pushFrom method fails here because the columns haven't been created in the new workspace. Its a pity it doesn't take this classic issue in account and raise a proper exception.
Anyway, do that to duplicate the attribute model in the new workspace:
AttributeModel sourceAttribute Model = attributeContro ller.getModel( currentWorkspac e); ller.getModel( newWorkspace) ; del.mergeModel( sourceAttribute Model);
AttributeModel destAttributeModel = attributeContro
destAttributeMo