Skip to content

Small changes for the Modflow to NetCDF converter#3

Merged
christianlangevin merged 4 commits into
modflowpy:masterfrom
kwilcox:master
Dec 22, 2014
Merged

Small changes for the Modflow to NetCDF converter#3
christianlangevin merged 4 commits into
modflowpy:masterfrom
kwilcox:master

Conversation

@kwilcox
Copy link
Copy Markdown
Contributor

@kwilcox kwilcox commented Dec 22, 2014

No description provided.

christianlangevin added a commit that referenced this pull request Dec 22, 2014
Small changes for the Modflow to NetCDF converter
@christianlangevin christianlangevin merged commit ec20f50 into modflowpy:master Dec 22, 2014
@christianlangevin
Copy link
Copy Markdown

Quick note to Flopy team. It was pointed out that string comparisons should not be performed using "is". Meaning, do not use:

if line[0] is '#'

This doesn't work on all platforms. Instead, you should use:

if line[0] == '#'

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.

2 participants