Skip to content

Commit 8cfc153

Browse files
committed
minor fix
1 parent 8ae8ccc commit 8cfc153

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tpcav/cavs.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ def plot_reg(data, x, y, ax=None):
535535
return res
536536

537537
def compute_motif_auc_fscore(num_motif_insertions: List[int], cav_trainers: List[CavTrainer], motif_file: Optional[str] = None,
538-
motif_file_fmt: str = 'meme', figure_path: Optional[str]=None):
538+
motif_file_fmt: str = 'meme', output_path: Optional[str]=None):
539539

540540
assert motif_file_fmt in ['meme', 'consensus']
541541

@@ -593,8 +593,8 @@ def load_custom_motif_info(key):
593593
else:
594594
cavs_fscores_df.sort_values("AUC_fscores", ascending=False, inplace=True)
595595

596-
if figure_path is not None:
597-
plt.savefig(figure_path, dpi=300, bbox_inches='tight')
596+
if output_path is not None:
597+
plt.savefig(output_path, dpi=300, bbox_inches='tight')
598598

599599
return cavs_fscores_df
600600

0 commit comments

Comments
 (0)