Skip to content

What's New Regarding rules.py#2821

Merged
DPeterK merged 7 commits into
SciTools:masterfrom
LukeC92:whatsnew_remove_CoordAndDims
Oct 19, 2017
Merged

What's New Regarding rules.py#2821
DPeterK merged 7 commits into
SciTools:masterfrom
LukeC92:whatsnew_remove_CoordAndDims

Conversation

@LukeC92

@LukeC92 LukeC92 commented Oct 18, 2017

Copy link
Copy Markdown
Contributor

No description provided.

@DPeterK DPeterK left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can you put everything that was removed from iris.fileformats.rules into this whatsnew entry, please.

@LukeC92 LukeC92 force-pushed the whatsnew_remove_CoordAndDims branch from 51e9170 to 0137922 Compare October 18, 2017 13:40
@DPeterK

DPeterK commented Oct 18, 2017

Copy link
Copy Markdown
Member

You can follow the pattern used by @corinnebosley in #2819.

@DPeterK

DPeterK commented Oct 18, 2017

Copy link
Copy Markdown
Member

@LukeC92 please add [ci skip] to your commit message.

@corinnebosley corinnebosley left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I am a little unsure about some of the entries on this list. I know, for example, that some of them are variables (like RuleResult) and that others (like RulesContainer) are only used in other functions.

I think we should remove entries for log, DebugString, FunctionRule, ProcedureRule and Rule.

@dkillick What do you think?

@DPeterK

DPeterK commented Oct 18, 2017

Copy link
Copy Markdown
Member

@corinnebosley we must document all breaking changes to public API here. So if it's public and we've removed it, we need to document it in this whatsnew entry.

@LukeC92 LukeC92 force-pushed the whatsnew_remove_CoordAndDims branch from f0caab2 to 573477e Compare October 18, 2017 15:02
@LukeC92 LukeC92 changed the title Added What's New regarding CoordAndDims. What's New Regarding rules.py Oct 18, 2017

@DPeterK DPeterK left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@LukeC92 still a couple of outstanding things...

@@ -0,0 +1,12 @@
The following classes and functions have been removed from :mod:`iris.fileformats.rules`:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This line needs to be prefixed with "* ".

* ```iris.fileformat.rules.ProcedureRule```
* ```iris.fileformat.rules.Rule```
* ```iris.fileformat.rules.RulesContainer```
* ```iris.fileformat.rules.RuleResult``` No newline at end of file

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

You're missing the removal of the legacy_custom_rules keyword arg from the Loader class in this module. Can you add a new line to the end of this document:

* Removed deprecated keyword argument ```legacy_custom_rules``` from :class:`iris.fileformats.rules.Loader`.

@LukeC92

LukeC92 commented Oct 18, 2017

Copy link
Copy Markdown
Contributor Author

As far as I'm this covers all the changes made in the last 6 months. This covers some or all of the changes in the following Pull Requests: #2806, #2801, #2782, #2791, #2795, #2796, #2794, #2786, #2778, #2777.

@DPeterK DPeterK merged commit 853b955 into SciTools:master Oct 19, 2017
@DPeterK

DPeterK commented Oct 19, 2017

Copy link
Copy Markdown
Member

Thanks @LukeC92.

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