Skip to content

Commit

Permalink
Allow gui progress to be disabled with an argument
Browse files Browse the repository at this point in the history
Previously it was only package level settings.
  • Loading branch information
shawnlaffan committed Feb 13, 2024
1 parent cdbf460 commit ea697cf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Biodiverse/Progress.pm
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ sub new {

return $self
if $Biodiverse::Config::progress_no_use_gui
|| !$Biodiverse::Config::running_under_gui;
|| !$Biodiverse::Config::running_under_gui
|| $args{no_gui_progress};

# if we are to use the GUI
#print "RUNNING UNDER GUI: $Biodiverse::Config::running_under_gui\n";
Expand Down

0 comments on commit ea697cf

Please sign in to comment.