healthdisparities / pastrami

A method for rapid sub-continental ancestry estimation.
GNU General Public License v3.0
7 stars 1 forks source link

Attribute Error in hapmake #29

Closed ShivamSharma13 closed 3 years ago

ShivamSharma13 commented 3 years ago

Running hapmake throws an error:

Traceback (most recent call last): File "pastrami.py", line 1893, in analysis.go() File "pastrami.py", line 487, in go self.summarize_run() File "pastrami.py", line 483, in summarize_run logging.info(self.main_process_color + str(self) + Colors.ENDC) File "pastrami.py", line 478, in str """ AttributeError: 'Analysis' object has no attribute 'out_prefix'

Commenting out line 483 fixes the problem.

482    def summarize_run(self):
483         logging.info(self.main_process_color + str(self) + Colors.ENDC)
484         logging.info(self.main_process_color + f"Analysis to perform: " + ",".join(self.analysis) + Colors.ENDC)

Maybe it is a typo somewhere?