Fix to network schemas for some networks that take parameters.
For some networks it was not possible to explicitly specify their arguments in the config file. Like
name: CustomCNN
params:
n_snp: 400
n_indiv: 100
By default if params
is empty the correct values are inferred, but if
the user specifies them manually it would sometimes fail schema
validation. This was due to a bug in the schemas.
The downside is with this workaround it will not catch typos. For
example if I give n_spn: 400
the schema will allow this, but the code
will infer a value for n_snp
(since it was missing).
I at least added a log message for when parameters are being inferred.