Re: [COOT] Setting MTZ resolution limits on the fly?

2015-03-18 Thread Oliver Clarke
As an alternative solution to this query, is there any way to get the filename of a loaded map (or model) using the scripting interface? Because if that is the case I could write an extension myself to do this (just reloading another version of the mtz with different resolution limits), but I

Re: [COOT] Setting MTZ resolution limits on the fly?

2015-03-18 Thread Bernhard Lohkamp
I think what you want is: molecule_name and make_and_draw_map_with_reso_with_refmac_params B P.S. Changing mtz resolution on the fly is currently not supported... On 18/03/2015 16:16, Oliver Clarke wrote: As an alternative solution to this query, is there any way to get the filename of a

Re: [COOT] Setting MTZ resolution limits on the fly?

2015-03-18 Thread Tim Gruene
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Oliver, if the map is derived from an mtz-file, the first entry in map_parameters(map_num) contains the full filename. Cheers, Tim On 03/18/2015 04:16 PM, Oliver Clarke wrote: As an alternative solution to this query, is there any way to get

Re: [COOT] Setting MTZ resolution limits on the fly?

2015-03-18 Thread Clarke, Oliver
Many thanks to both Bernhard and Tim. The functions “map_parameters” and “make_and_draw_map_with_reso_with_refmac_params” were exactly what I was looking for. The function below does what I was after, allowing the user to enter a new high-resolution limit for the active map, and closing the old