Skip to content

Commit

Permalink
For peter (#593)
Browse files Browse the repository at this point in the history
* use templates keys for args

* works for me

* fixing model prob and paralel driver'

* version changes

* version bla

* Trying to let peter overwrite path via subpath keyword

* pefrect way

* remove C commments

* first pass at getting correct version for test suite

* flake8ed , caught a bunch of things in dump_cmor as well

* no py37 yet on mac need to force 3.6

* removed pribt statemrnts

* removing AGAIN the print statements
  • Loading branch information
doutriaux1 committed Mar 1, 2019
1 parent 9001da6 commit e4e2258
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion pcmdi_metrics/driver/pmp_parameter.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ def process_templated_argument(self, name, default_value="*", extras=None):
"""

process = getattr(self, name, None)
print("PROCESS IS:", process)
if process is None: # Ok not an argument from arg_parse maybe a template or string constructor itself
if isinstance(name, basestring):
process = name
Expand Down
2 changes: 0 additions & 2 deletions pcmdi_metrics/pcmdi/mean_climate_metrics_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,6 @@ def load_obs_dict(self):

if hasattr(self.parameter, 'custom_observations'):
# Can't use load_path_as_file_obj() b/c might not be in /share/
print("WE ARE USING CUSTOM OBS:",
self.parameter.custom_observations)
cust_obs_json_file = open(self.parameter.custom_observations)
obs_dict.update(json.load(cust_obs_json_file))
cust_obs_json_file.close()
Expand Down

0 comments on commit e4e2258

Please sign in to comment.