-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#1332: Implement auto use of cycle-point format in a remote suite. #2134
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor comments. OK otherwise.
@@ -76,6 +76,15 @@ def display_maps(self, res): | |||
for row in res: | |||
sys.stdout.write((", ").join(row).encode("utf-8") + "\n") | |||
|
|||
def get_remote_point_format(self): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should add doc string.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
tests/suite-state/06-format.t
Outdated
suite_run_ok $TEST_NAME cylc run --debug $SUITE_NAME | ||
#------------------------------------------------------------------------------- | ||
TEST_NAME=$TEST_NAME_BASE-cli-template | ||
run_ok $TEST_NAME cylc suite-state $SUITE_NAME -p 20100101T0000Z \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe worth adding a test for STDOUT?
@matthewrmshin - comments addressed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One spurious print statement detected.
lib/cylc/task_pool.py
Outdated
@@ -1430,6 +1430,11 @@ def put_rundb_suite_params(self, initial_point, final_point): | |||
{"key": "initial_point", "value": str(initial_point)}, | |||
{"key": "final_point", "value": str(final_point)}, | |||
]) | |||
if format: | |||
print "during format thing" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A stray bit of debug code? 😁
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well spotted, fixed now.
@hjoliver - spurious print removed 😁 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@arjclark - thanks, this one will be helpful for our operations.
Closes #1332