diff --git a/fsl/scripts/atlasq.py b/fsl/scripts/atlasq.py index 486e2c02a719cb93cfe5729285d24e743565a190..a153bcb42157aa81c5086b3c7ab88e9cbeb3adbf 100644 --- a/fsl/scripts/atlasq.py +++ b/fsl/scripts/atlasq.py @@ -737,6 +737,10 @@ def main(args=None): return 0 +def atlasquery_emulation(args=None): + if args is None: + args=sys.argv[1:] + return main(['ohi']+args) if __name__ == '__main__': sys.exit(main()) diff --git a/setup.py b/setup.py index 356857dd6c237ef7a6f546b02060662078ca938b..020890ba56c2caf065a5b002bf4781daf06315d5 100644 --- a/setup.py +++ b/setup.py @@ -127,7 +127,8 @@ setup( 'immv = fsl.scripts.immv:main', 'imcp = fsl.scripts.imcp:main', 'imglob = fsl.scripts.imglob:main', - 'atlasquery = fsl.scripts.atlasq:main', + 'atlasq = fsl.scripts.atlasq:main', + 'atlasquery = fsl.scripts.atlasq:atlasquery_emulation', ] } )