Skip to content

Commit

Permalink
Added option for analysis file
Browse files Browse the repository at this point in the history
  • Loading branch information
AryazE committed Jul 19, 2024
1 parent f6f411a commit 68bdd61
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/dynapyt/run_instrumentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ def process_files(cmd_list, file_path):
nargs="+",
required=True,
)
parser.add_argument(
"--analysisFile",
help="Analysis file with list of analysis classes",
)
parser.add_argument(
"--external_dir",
help="Place instrumented files in another directory",
Expand All @@ -79,5 +83,7 @@ def process_files(cmd_list, file_path):
args = parser.parse_args()
start = args.directory
analysis = args.analysis
if args.analysisFile:
analysis = args.analysisFile
use_external_dir = args.external_dir
instrument_dir(start, analysis, use_external_dir)

0 comments on commit 68bdd61

Please sign in to comment.