Skip to content
This repository has been archived by the owner on Nov 10, 2017. It is now read-only.

Generate config.gem #11

Merged
merged 18 commits into from
May 18, 2011
Merged

Generate config.gem #11

merged 18 commits into from
May 18, 2011

Conversation

larsbutler
Copy link
Contributor

Hi,

This branch adds the oqrunner/config_writer.py module. This module includes functionality for generating Classical PSHA config.gem files (support for Event-Based and Deterministic config files will be added later).

The spec is here: #1

I apologize for the size of this branch. In all, the code changes are about 700 lines; the rest is test data (XML files).

Thanks,
-Lars

@al-maisan
Copy link

For some reason this branch removes an existing unittest file (tests/mtapi_utils_unittests.py). Can you please have a look?

@al-maisan
Copy link

Also, could the "oqrunner" directory become "utils/oqrunner" please? We will likely add more such modules later in the course of refactoring etc.

@al-maisan
Copy link

Lars, have you tried running the OpenQuake engine using a generated config.gem file?

@larsbutler
Copy link
Contributor Author

  1. I renamed mtapi_utils_unittests.py to _unittest.py (singular). This is the naming convention we are following in the rest of the OQ test code.

  2. Yep, I'll move it.

  3. I will do that.

@al-maisan
Copy link

LGTM

larsbutler added a commit that referenced this pull request May 18, 2011
@larsbutler larsbutler merged commit 2204337 into gem:master May 18, 2011
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants