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

Changes needed to allow for use of IFSAR DEM #223

Closed
wants to merge 1 commit into from

Conversation

washreve
Copy link

@washreve washreve commented Nov 5, 2020

No description provided.


files = []
fileList = False
lines = [line.rstrip('\n') for line in open(configFile)]
Copy link
Contributor

Choose a reason for hiding this comment

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

This leaves the file open to be garbage collected instead of explicitly closing.

Comment on lines +71 to +75
for ii in range(len(lines)):
if fileList == True:
files.append(lines[ii])
if section in lines[ii]:
fileList = True
Copy link
Contributor

Choose a reason for hiding this comment

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

could use for line in lines

@jhkennedy jhkennedy marked this pull request as draft April 7, 2021 18:03
@jhkennedy
Copy link
Contributor

closing this as stale; will re-open when we actively work on IFSAR support and otherwise will track it in ASFHyP3/hyp3-gamma#183 and #225

@jhkennedy jhkennedy closed this May 26, 2021
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