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

A few AbsComponent edits #412

Merged
merged 3 commits into from
Sep 28, 2017
Merged

A few AbsComponent edits #412

merged 3 commits into from
Sep 28, 2017

Conversation

profxj
Copy link
Contributor

@profxj profxj commented Sep 25, 2017

Edits mainly to speed up reading JSON files.

Also turned off 'stars' as a required parameter when
generating a fine-structure component. Defaults
to a single star if not provided.

Failing one Travis test which is not related to linetools.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.02%) to 71.737% when pulling 59abd8d on system_building into 681e086 on master.

Copy link
Collaborator

@jnburchett jnburchett left a comment

Choose a reason for hiding this comment

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

Looks good. One pdb.set_trace() that's a possible hold-over. Please merge if intended to be here.

@@ -162,7 +162,8 @@ def build_components_from_dict(idict, coord=None, **kwargs):
if isinstance(idict['lines'][key], AbsLine):
line = idict['lines'][key]
elif isinstance(idict['lines'][key], dict):
line = AbsLine.from_dict(idict['lines'][key], coord=coord)
pdb.set_trace()
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why is this here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch. I was debugging.

Removed.

@profxj
Copy link
Contributor Author

profxj commented Sep 28, 2017

merging

@profxj profxj merged commit 0df35cb into master Sep 28, 2017
@profxj profxj deleted the system_building branch September 28, 2017 23:13
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.

None yet

3 participants