Repository: climate
Updated Branches:
  refs/heads/master 7cf81795d -> 523fc7d32


CLIMATE-913 - Bugs in CLI

All of the options shown in the run screen work after applying this fix.


Project: http://git-wip-us.apache.org/repos/asf/climate/repo
Commit: http://git-wip-us.apache.org/repos/asf/climate/commit/79ccce1b
Tree: http://git-wip-us.apache.org/repos/asf/climate/tree/79ccce1b
Diff: http://git-wip-us.apache.org/repos/asf/climate/diff/79ccce1b

Branch: refs/heads/master
Commit: 79ccce1b79e8ee7e179214d20d5782fe7e93fad3
Parents: 7cf8179
Author: huikyole <huiky...@argo.jpl.nasa.gov>
Authored: Wed May 10 11:19:00 2017 -0700
Committer: huikyole <huiky...@argo.jpl.nasa.gov>
Committed: Wed May 10 11:19:00 2017 -0700

----------------------------------------------------------------------
 RCMES/cli_app.py | 16 ++++------------
 1 file changed, 4 insertions(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/climate/blob/79ccce1b/RCMES/cli_app.py
----------------------------------------------------------------------
diff --git a/RCMES/cli_app.py b/RCMES/cli_app.py
index 58e8cb2..0616571 100644
--- a/RCMES/cli_app.py
+++ b/RCMES/cli_app.py
@@ -1185,8 +1185,6 @@ def settings_screen(header):
          screen.addstr(11, x/2, "6 - Change Target dataset/s")
          screen.addstr(12, x/2, "7 - Change Metric")
          screen.addstr(13, x/2, "8 - Change Working Directory")
-         #screen.addstr(14, x/2, "9 - Change Plot Title [Coming Soon....]")
-         #screen.addstr(15, x/2, "10 - Save the processed data [Coming 
Soon....]")
          screen.addstr(14, x/2, "9 - Show Temporal Boundaries")
          screen.addstr(15, x/2, "10 - Show Spatial Boundaries")
          screen.addstr(16, x/2, "0 - Return to Main Menu")
@@ -1378,18 +1376,11 @@ def settings_screen(header):
                    note = "Working directory has not changed"
 
          if option == '9':
-              screen.addstr(25, x/2, "Please enter plot title:")
-              plot_title = screen.getstr()
-
-         #if option == '10':
-         #     screen.addstr(25, x/2, "Please enter plot title:")
-         #     plot_title = screen.getstr()
-
-         if option == '9':
               models_start_time, models_end_time = get_models_temp_bound()
               line = 25
               for i, model in enumerate(model_datasets):
-                   mode_name = models_info[i]['directory'].split("/")[-1]
+                   #mode_name = models_info[i]['directory'].split("/")[-1]
+                   mode_name = 'model %d' %(i+1)
                    line += 1
                    screen.addstr(line, x/2, "{0}".format(mode_name))
                    line += 1
@@ -1407,7 +1398,8 @@ def settings_screen(header):
               models_bound = get_models_spatial_bound()
               line = 25
               for i, model in enumerate(model_datasets):
-                   mode_name = models_info[i]['directory'].split("/")[-1]
+                   #mode_name = models_info[i]['directory'].split("/")[-1]
+                   mode_name = 'model %d' %(i+1)
                    line += 1
                    screen.addstr(line, x/2, "{0}".format(mode_name))
                    line += 1

Reply via email to