Skip to content
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

#1024: standardise inserted task cycle points #1034

Conversation

benfitzpatrick
Copy link
Contributor

This fixes #1024.

@matthewrmshin, please review.

@@ -523,11 +523,12 @@ def command_insert_task( self, name, tag, is_family, stop_string ):
raise TaskNotFoundError, "No matching tasks found: " + name
task_ids = [ TaskID.get(i,tag) for i in matches ]

point = get_point(tag)
point = get_point(tag).standardise()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be in a try-block like in set_stop_point() - at which point you can remove a # TODO ISO comment in bin/cylc-insert.

@matthewrmshin
Copy link
Contributor

@benfitzpatrick please update branch.

@benfitzpatrick
Copy link
Contributor Author

Updated.

@matthewrmshin
Copy link
Contributor

(I must say I am disappointed that teatime is invalid!)

@matthewrmshin
Copy link
Contributor

Test battery OK. Rose test battery (using my branch) OK.

matthewrmshin added a commit that referenced this pull request Jul 31, 2014
…oints

#1024: standardise inserted task cycle points
@matthewrmshin matthewrmshin merged commit 270d380 into cylc:119.iso8601-cycling Jul 31, 2014
@benfitzpatrick benfitzpatrick deleted the 1024.standardise_cycle_points branch July 31, 2014 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants