openmolecules.org

 
Home » DataWarrior » Functionality » Reorganize filters
Reorganize filters [message #421] Wed, 07 November 2018 11:48 Go to next message
alfred is currently offline  alfred
Messages: 4
Registered: November 2018
Junior Member
Dear DataWarrior tem

thank you for sharing this amazing software!
Is there any way to easily reorganize the filters on the right panel (moving one up or down)? for now the only solution I have is to delete them all and re-add them one by one in the correct order.

Best
Alfred
Re: Reorganize filters [message #425 is a reply to message #421] Sun, 11 November 2018 11:49 Go to previous message
thomas is currently offline  thomas
Messages: 711
Registered: June 2014
Senior Member
Dear Alfred,

thank you for the remark. You are right I also stumbled over this nuisance a couple of times. Some kind of a workaround may be to open the dwar file in a text editor, scroll to the <datawarrior properties> section at the end of the file and change the filter index numbers from e.g.:

<filter0="#browser# #disabled#">
<filter1="#reaction# Reaction">
<filter2="#structure#products Reaction">
<filterAnimation0="state=stopped delay=500">

to

<filter2="#browser# #disabled#">
<filter1="#reaction# Reaction">
<filter0="#structure#products Reaction">
<filterAnimation2="state=stopped delay=500">

(Note that the filterAnimationX tag that belongs to the browser filter also needs to be changed)

I realize that is is not an acceptable way of doing it and I will look into adding some drag&drop support.

Thomas
Previous Topic: Hide Stereochemistry Text Labels on Molecules
Next Topic: Hide legends
Goto Forum:
  


Current Time: Sun Nov 03 16:20:48 CET 2024

Total time taken to generate the page: 0.03477 seconds