When opening a new algorithm, editor checks for "integer" dataformat that might not be available.
When you try to make a new algorithm it gives and error "Reference dataformats [integer, integer] not found". The reason is that to make the correct template for the algorithm the editor checks for "integer" data format to exist, otherwise it gives an error. Even though the dataformat "integer" seems very obvious to be a part of a typical custom prefix, it is not the case.
There are two solutions to this problem:
- When the user wants to make a new algorithm a message pops up and says "you need this, do you want me to create it"
- At the beginning when the editor checks the sanity of the prefix the same window pops up. (similar to the behaviour regarding protocoltemplates)
Steps to reproduce:
- Open editor v2.
- Go to File -> New -> algorithm -> New.
- Press ok. It gives the error "Reference dataformats [integer, integer] not found". It should just make a new algorithm and such underlying issues should be transparent to the user as much as possible.