Skip to content

Commit 43f1845

Browse files
committed
Fix error "TypeError: Autosubmit.statistics() takes from 7 to 8 positional arguments but 9 were given"
1 parent 32f127d commit 43f1845

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

autosubmit/autosubmit.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -328,8 +328,6 @@ def parse_args() -> Tuple[int, Optional[argparse.Namespace]]:
328328
default=False, help='Disable transitive reduction')
329329
subparser.add_argument('-v', '--update_version', action='store_true',
330330
default=False, help='Update experiment version')
331-
subparser.add_argument('-db', '--database', action='store_true',
332-
default=False, help='Use database for statistics')
333331
# Clean
334332
subparser = subparsers.add_parser(
335333
'clean', description="clean specified experiment")
@@ -737,7 +735,7 @@ def run_command(args):
737735
args.txt_logfiles, args.profile, detail=False)
738736
elif args.command == 'stats':
739737
return Autosubmit.statistics(args.expid, args.filter_type, args.filter_period, args.output,
740-
args.section_summary, args.jobs_summary, args.hide, args.notransitive, args.database)
738+
args.section_summary, args.jobs_summary, args.hide, args.notransitive)
741739
elif args.command == 'clean':
742740
return Autosubmit.clean(args.expid, args.project, args.plot, args.stats)
743741
elif args.command == 'recovery':

0 commit comments

Comments
 (0)