Skip to content

Commit

Permalink
BUG: Fixed bugs on parent release prints and fixed rel. path in shell…
Browse files Browse the repository at this point in the history
… command
  • Loading branch information
aberges-SLAC committed May 14, 2024
1 parent 35474cb commit 0c19339
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions scripts/grep_more_ioc.py
Original file line number Diff line number Diff line change
Expand Up @@ -424,8 +424,8 @@ def main():
output_str = search_result
# abbreviate path for standard IOC releases
elif 'common' in search_result:
output_str = '/'.join(
search_result.rsplit('common/',maxsplit=1)[-1])
output_str = (search_result
.rsplit('common/',maxsplit=1)[-1])
# add it to the list
output_list.append(output_str)
# Then, finally, add the column to the dataframe
Expand Down
2 changes: 1 addition & 1 deletion scripts/grep_more_ioc.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/bash

# execute python script
/cds/group/pcds/pyps/conda/py39/envs/pcds-5.8.4/bin/python /cds/home/a/aberges/bin/py_tools_wip/grep_more_ioc.py "$@"
/cds/group/pcds/pyps/conda/py39/envs/pcds-5.8.4/bin/python $ENG_TOOLS_SCRIPTS/grep_more_ioc.py "$@"

0 comments on commit 0c19339

Please sign in to comment.