Hello,
Is there a way to delete or remove moves from a tree that are showing up in a Tree View window? I am slowly building an opening repertoire book and realized that some moves are showing up in my opening book tree that should not be in there. As a simple example:
1.e4 c6 2.d3 (2.Nf3) d5
The problem here is the 2.Nf3 variation listed above. The two moves that show up in the tree window (with the "Show main tree moves only" option turned on in Tree Configuration options) are:
Move Eval CAP
Nf3 = +0.18
-> d3 = +0.00
Since I am focusing strictly on King's Indian Attack main lines, I do not wish to consider 2.Nf3 for this particular opening tree. I would like to DELETE the move altogether and not simply mark it as a "discarded" move.
Is there a practical way to accomplish this, directly within the GUI as an option, or perhaps using the various Tree Utilities? I am using the latest Aquarium 2012 (build 523).
Your help is very much appreciated here.
Is there a way to delete or remove moves from a tree that are showing up in a Tree View window? I am slowly building an opening repertoire book and realized that some moves are showing up in my opening book tree that should not be in there. As a simple example:
1.e4 c6 2.d3 (2.Nf3) d5
The problem here is the 2.Nf3 variation listed above. The two moves that show up in the tree window (with the "Show main tree moves only" option turned on in Tree Configuration options) are:
Move Eval CAP
Nf3 = +0.18
-> d3 = +0.00
Since I am focusing strictly on King's Indian Attack main lines, I do not wish to consider 2.Nf3 for this particular opening tree. I would like to DELETE the move altogether and not simply mark it as a "discarded" move.
Is there a practical way to accomplish this, directly within the GUI as an option, or perhaps using the various Tree Utilities? I am using the latest Aquarium 2012 (build 523).
Your help is very much appreciated here.
> Is there a way to delete or remove moves from a tree that are showing up in a Tree View window?
If I understand what you are asking you can just use "Backspace", or Ctrl+Y or rightclick in the notation window and you can click "remove line". None of these will take it out of the tree file though.
Yes, I realize you can remove the variation/move from the Notation window with the methods you mentioned, but what I really need is to remove the actual move(s) from the Tree file itself since that is comprised of ONLY my main lines and PVs for my opening repertoire. I accidentally placed a non-PV in the tree and don't want it showing up in the Tree view window whenever I have the "Show main tree moves only" option selected in the Tree configuration dialogue.
Is there any way to delete moves from a Tree file using either the Aquarium GUI or possibly the Tree Utilities?
Is there any way to delete moves from a Tree file using either the Aquarium GUI or possibly the Tree Utilities?
Not that I know of. You might try PMing buffos; he may have a script that will do that, or he might know how/where to find some info on it. I'll check around and see if I can find anything.
Thank you, for your feedback on this... sure, if you don't mind looking around a bit for a solution to this, it would be very helpful (not just for the removal of this particular move, but for any others that may accidentally get added to the Tree). I will also continue to search around.
One thought I had was to use the Tree utils to export all moves in the KIA opening book tree file to an epd file. Then, remove the particular move(s) in question from the epd file (say, using a simple text editor like notepad) and import that modified epd file into a new KIA opening book tree file (and then just deleting the original tree file with the undesired moves). Not sure if something like this will work or not. I'm hesitant to try this before getting more input on such a strategy as I don't want to mess up any other aspects of Aquarium and my associated setup (files, configurations, etc) if I do this.
Can an opening book tree file be rebuilt/generated from an epd file itself (via import option of the Tree utils)? If so, perhaps the above technique may work?
One thought I had was to use the Tree utils to export all moves in the KIA opening book tree file to an epd file. Then, remove the particular move(s) in question from the epd file (say, using a simple text editor like notepad) and import that modified epd file into a new KIA opening book tree file (and then just deleting the original tree file with the undesired moves). Not sure if something like this will work or not. I'm hesitant to try this before getting more input on such a strategy as I don't want to mess up any other aspects of Aquarium and my associated setup (files, configurations, etc) if I do this.
Can an opening book tree file be rebuilt/generated from an epd file itself (via import option of the Tree utils)? If so, perhaps the above technique may work?
This approach should work. You can create a new idea tree, export the old file to an epd, and then import the file into the new tree via "manage" menu on the stage status in idea. Manage will also export to an epd file for you. Might be the easiest way to do this.
[edit] you might have to run idea on 'all positions' again.
[edit] you might have to run idea on 'all positions' again.
Thank you, very much, for confirming this... I will give it a run and let you know how it goes...
Suggestion: If KIA is your Mastertree then crop with option "current position" (with d3 variation on board); some NF3 variations may remain because of transpositions, but that should be ok.
Kind regards,
max
Kind regards,
max
Max, he wants to remove it completely. Crop will only remove positions not the whole move.

> Crop will only remove positions not the whole move.
From the help file:
crop: to choose a position in tree and to leave only it and its descendants. Note, that the initial (oldest) part of the tree is removed completely from IDeA project tree
After creating a new tree without the earlier positions, a subtract tree using Tree utility may do the trick, I think.
Hi Max,
Thank you for posting on this. Please see my reply to keoki010 above regarding using the external Tree utils to potentially export existing KIA tree to epd file, manually removing any unwanted moves/positions from epd file (using a text editor like Notepad), then importing updated epd file into a brand new KIA opening book tree file using the external Tree utils. Not sure if such an approach will work - I haven't yet tried it and am still sifting through some newly discovered (and very limited) help documentation on the external Tree utils.
My KIA opening book tree is not my Master tree file, by the way... I would prefer to not make it my master tree file if it's not necessary to perform the tasks described above.
Please jump in with any thoughts or suggestions regarding all this.
Kind regards...
Thank you for posting on this. Please see my reply to keoki010 above regarding using the external Tree utils to potentially export existing KIA tree to epd file, manually removing any unwanted moves/positions from epd file (using a text editor like Notepad), then importing updated epd file into a brand new KIA opening book tree file using the external Tree utils. Not sure if such an approach will work - I haven't yet tried it and am still sifting through some newly discovered (and very limited) help documentation on the external Tree utils.
My KIA opening book tree is not my Master tree file, by the way... I would prefer to not make it my master tree file if it's not necessary to perform the tasks described above.
Please jump in with any thoughts or suggestions regarding all this.
Kind regards...
Following up on this subject, if a person has lets say a line that repeats multiple times - if one were to export to epd then dedupe the epd file would the resulting file remove the repeating line? I attempted this but appears the resulting file was the same number of positions?
That's because lines don't "repeat multiple times" in Aquarium trees. A given position is only stored once in the tree.
As I understand your problem:
The 2.Nf3 is a root of a subtree in your KIA tree. You would like to take away the subtree starting with 2.Nf3 from your KIA tree..
Suggested solution:
1. Create a new sub-tree starting with 2.Nf3 from your KIA tree by using ”Save from position” in Tree utility.
2. Now use this new subtree and extract it from your KIA tree by ”Subtract Tree” in Tree utility.
3. And you will have he new KIA tree without the 2.Nf3
Tree Utility functions to use:
Save from position
Purpose: To create a subtree, starting from a given position in an existing tree.
Usage: 'Input' is the input tree, 'output' is the resulting tree. Paste an EPD string into 'operation.Position'. The subtree of 'input' starting from the position will be written to the 'output'.
Subtract Trees
Purpose: Create a new tree consisting of all positions in tree A that are not present in tree B.
Usage: If 'input' is tree A and 'operation.Subtracted' is tree B, then the tree specified in 'output' will contain A-B, i.e. all positions in A that are not in B.
The 2.Nf3 is a root of a subtree in your KIA tree. You would like to take away the subtree starting with 2.Nf3 from your KIA tree..
Suggested solution:
1. Create a new sub-tree starting with 2.Nf3 from your KIA tree by using ”Save from position” in Tree utility.
2. Now use this new subtree and extract it from your KIA tree by ”Subtract Tree” in Tree utility.
3. And you will have he new KIA tree without the 2.Nf3
Tree Utility functions to use:
Save from position
Purpose: To create a subtree, starting from a given position in an existing tree.
Usage: 'Input' is the input tree, 'output' is the resulting tree. Paste an EPD string into 'operation.Position'. The subtree of 'input' starting from the position will be written to the 'output'.
Subtract Trees
Purpose: Create a new tree consisting of all positions in tree A that are not present in tree B.
Usage: If 'input' is tree A and 'operation.Subtracted' is tree B, then the tree specified in 'output' will contain A-B, i.e. all positions in A that are not in B.
Powered by mwForum 2.27.4 © 1999-2012 Markus Wichitill