Add attribute

This protocol allows the user to add an attribute to an item or set object inside Scipion. It has somehow a similar but contrary function than the “Remove column” operation of the Operate set protocol, but the definition of the input can be a bit more complex.

Input

Note

All parameters include a help button that gives further information for each of them.

Add attribute form 1

Add attribute form 2

The result of this protocol is object equal to the one in the input, but this time the files inside this object are in the desired format.

Before:

Add attribute output 1

After:

Add attribute output 2

Test

This protocol has an integrated test that can be run using the following command:

scipion3 tests pwchem.tests.tests_attributes.TestAddAttribute