@@ -11,6 +11,13 @@ hints:
1111 DockerRequirement:
1212 dockerPull: ndonyapour/molgan
1313
14+ # Set environment variables for the tool,
15+ # See: https://www.commonwl.org/user_guide/topics/environment-variables.html
16+ requirements :
17+ EnvVarRequirement:
18+ envDef :
19+ RDKIT_ERROR_LOGGING: $(inputs.rdkit_error_logging)
20+
1421inputs :
1522 input_data_path:
1623 label : Path to the input data file
@@ -41,7 +48,7 @@ inputs:
4148 default : NP.gz
4249 inputBinding :
4350 prefix : --input_NP_Score_path
44-
51+
4552 input_SA_Score_path:
4653 label : Output ceout file (AMBER ceout)
4754 doc : |-
@@ -74,10 +81,10 @@ inputs:
7481 output_model_dir:
7582 label : Output directory
7683 type : string
77- format :
84+ format :
7885 - edam:format_2330 # 'Textual format'
7986 inputBinding :
80- prefix : --output_model_dir
87+ prefix : --output_model_dir
8188 default : output
8289
8390 validation_metrics:
@@ -86,13 +93,13 @@ inputs:
8693 The metrics are used during validation and testing
8794 type : string ?
8895 format :
89- - edam:format_2330
96+ - edam:format_2330
9097 inputBinding :
9198 prefix : --validation_metrics
9299 default : 'np,logp,sas,qed,novelty,dc,unique,diversity,validity'
93100
94101 num_epochs:
95- label : The number of training epochs
102+ label : The number of training epochs
96103 doc : |-
97104 The number of training epochs
98105 Type: int
@@ -111,7 +118,18 @@ inputs:
111118 format :
112119 - edam:format_2330
113120 inputBinding :
114- prefix : --save_frequency
121+ prefix : --save_frequency
122+
123+ rdkit_error_logging:
124+ label : Enable or disable RDKit error logging
125+ doc : |-
126+ Enable or disable RDKit error logging
127+ type : string ?
128+ format :
129+ - edam:format_2330
130+ # RDKit prints out all errors by default, which can pose issues for CI,
131+ # particularly with large databases. It would be more efficient to suppress these errors.
132+ default : "ON"
115133
116134outputs :
117135
@@ -130,6 +148,13 @@ outputs:
130148 glob : $(inputs.output_model_dir)
131149 format : edam:format_2330 # 'Textual format
132150
151+ stderr :
152+ type : File
153+ outputBinding :
154+ glob : stderr
155+
156+ stderr : stderr
157+
133158$namespaces:
134159 edam: https://edamontology.org/
135160
0 commit comments