Skip to content

asc_desc2horz_vert --oo: grab sensor name from PROJECT_NAME#634

Merged
yunjunz merged 1 commit intoinsarlab:mainfrom
olliestephenson:patch-4
Aug 10, 2021
Merged

asc_desc2horz_vert --oo: grab sensor name from PROJECT_NAME#634
yunjunz merged 1 commit intoinsarlab:mainfrom
olliestephenson:patch-4

Conversation

@olliestephenson
Copy link
Contributor

Description of proposed changes
Passing the project name, rather than the file path, to project_name2sensor_name seems like a more reliable way of getting the sensor name.

@yunjunz yunjunz self-requested a review August 10, 2021 04:02
Copy link
Member

@yunjunz yunjunz left a comment

Choose a reason for hiding this comment

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

By default, PROJECT_NAME is grabbed from FILE_PATH or template file name in load_data.py. However, one could manually add/modify PROJECT_NAME afterward. So I agree with you.

@yunjunz yunjunz changed the title Change how we get the sensor name asc_desc2horz_vert --oo: grab sensor name from PROJECT_NAME instead of FILE_PATH Aug 10, 2021
@yunjunz yunjunz changed the title asc_desc2horz_vert --oo: grab sensor name from PROJECT_NAME instead of FILE_PATH asc_desc2horz_vert --oo: grab sensor name from PROJECT_NAME Aug 10, 2021
@yunjunz yunjunz merged commit 988a097 into insarlab:main Aug 10, 2021
@olliestephenson olliestephenson deleted the patch-4 branch January 24, 2022 08:10
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