Skip to content

Fix input forms

Niklas Siemer requested to merge fix_input_forms into master

Right now, the variables on the input forms are class variables, i.e. if they are modified the class itself is changed and this had severe side effects:

from coscine import Client
c =  Client('TOKEN')
obj = c.object('TestProject/aRes/s_random.dat')
obj.form()
print(obj.form())

results in duplication of all values!

This MR fixes this

Merge request reports

Loading