Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

Commit

Permalink
adjusted defaults in constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexPatrie committed Feb 28, 2024
1 parent 55f50a5 commit d8893c2
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions biosimulator_processes/processes/copasi_process.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,16 +84,15 @@ class CopasiProcess(Process):

config_schema = {
'model': {
'_type': 'tree[string]',
'_default': MODEL_TYPE
'_type': MODEL_TYPE,
'_default': {}
},
'biomodel_id': 'maybe[string]', # <-- implies the lack of either model_file or model_reactions
'units': 'maybe[tree[string]]',
'method': 'maybe[string]'
# 'method': {
# '_type': 'string',
# '_default': 'lsoda'
# }
'method': {
'_type': 'maybe[string]',
'_default': 'lsoda'
}
}

def __init__(self, config=None, core=None):
Expand Down

0 comments on commit d8893c2

Please sign in to comment.