Open Jan-03 opened 2 years ago
If it is intentional it should be in the help and the README.md (and otherwise it should be amended such that we can have the shape defined anywhere)
Ah, it seems to be because of the handling of arguments: '-s' is checked first, and then for some reason it is removed from the argument list making the list shorter, hence messing up the iteration over arguments...
In my call with @FelixRitter3110 - we discussed this - I think he said it was intentional...but maybe I am wrong
I just copied on Jonas' previous work where he does the same and removes variables from the argument list.
It was neither intentional nor an accident. I was aware of that fact but as it was just a logic error I focussed on making my overall code work first.
I can change if wanted.
Is it better to have arguments in any order or should we just update the ReadMe?
Would it mess things up if you don't remove the argument?
I dont know. when not deleting the argument it might return errors due to the algorithm trying to access a specific element out of the arguments array which might have changed.
could give it a careful try though
not sure if this is intended or not, but when running fit.py the -s argument must be given before the -m argument otherwise the code won't run.