I just ran a grep and can see it is still used in some of the files: $ grep "array(" * -l it99.py mmq_cr72.py ns_cpmg_2site_expanded.py ns_matrices.py ns_mmq_2site.py ns_mmq_3site.py $ So using the sed program is probably not an option. It might be easiest to delete them one-by-one. I would also recommend using Pylint (http://www.pylint.org/) to find all unused exports. I use Pylint, looking only at the unused import warnings, to clean up the code. The "External dependencies" printout is also very useful for simplifying code and avoiding circular imports. Regards, Edward On 13 June 2014 13:56, Troels Emtekær Linnet <tlinnet@xxxxxxxxxxxxx> wrote:
Hi ed. In most lib functions, I now have and unused import of array. Do you have a trick to remove them? Best T _______________________________________________ relax (http://www.nmr-relax.com) This is the relax-devel mailing list relax-devel@xxxxxxx To unsubscribe from this list, get a password reminder, or change your subscription options, visit the list information page at https://mail.gna.org/listinfo/relax-devel