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

pst.write() iterates through n characters (rather than n paths) if pst.model_command value is changed. #27

Closed
wzell-usgs opened this issue Sep 28, 2017 · 4 comments

Comments

@wzell-usgs
Copy link

No description provided.

@wzell-usgs
Copy link
Author

Maybe cast this as a list rather than a string.

@jtwhite79
Copy link
Collaborator

I've messed this up too - just added an overload of setattr to Pst that traps for a str instead of a list. Seems to be working.

@wzell-usgs
Copy link
Author

Oops! So it was my fault for over-writing a list with string. Duh.

@jtwhite79
Copy link
Collaborator

There can be multiple model commands (the numcom var in the control data section) but I've messed up this up the same way several times so it needed to be fixed anyway.

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

No branches or pull requests

2 participants