Skip to content

Commit

Permalink
Added some print statements to debug what is going on with Joe's install
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidT3 committed May 21, 2024
1 parent aa37dc3 commit 73ccbda
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion xga/generate/common.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This code is a part of X-ray: Generate and Analyse (XGA), a module designed for the XMM Cluster Survey (XCS).
# Last modified by David J Turner (turne540@msu.edu) 15/02/2024, 17:58. Copyright (c) The Contributors
# Last modified by David J Turner (turne540@msu.edu) 21/05/2024, 10:46. Copyright (c) The Contributors

import os
from subprocess import Popen, PIPE
Expand Down Expand Up @@ -33,6 +33,11 @@ def execute_cmd(cmd: str, p_type: str, p_path: list, extra_info: dict, src: str)
out = out.decode("UTF-8", errors='ignore')
err = err.decode("UTF-8", errors='ignore')

print(out)
print('')
print(err)
print('')

# This part for defining an image object used to make sure that the src wasn't a NullSource, as defining product
# objects is wasteful considering the purpose of a NullSource, but generating exposure maps requires a
# pre-existing image
Expand Down

0 comments on commit 73ccbda

Please sign in to comment.