You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ifnot (isinstance(self.params.g, numbers.Number) and (self.params.g>=0)): raiseValueError("parameter g must be a positive number. Was "+str(self.params.g))
Was the goal to support parameter sweeps from the command line? It looks like there either needs to be a loop over the calls to oi.Graph(args.edge_file, params) or these arguments should be stored as floats.
The text was updated successfully, but these errors were encountered:
Numeric arguments, such as
g
, havenargs='*'
, which stores them as a list:OmicsIntegrator2/src/__main__.py
Lines 43 to 44 in ea1092f
That causes the parameter checks in
graph.py
to fail because they are not numeric:OmicsIntegrator2/src/graph.py
Line 144 in ea1092f
Was the goal to support parameter sweeps from the command line? It looks like there either needs to be a loop over the calls to
oi.Graph(args.edge_file, params)
or these arguments should be stored as floats.The text was updated successfully, but these errors were encountered: