Skip to content

Conversation

@saengel
Copy link
Contributor

@saengel saengel commented Oct 29, 2023

This script adds the second appendix to the Mishnat Eretz Yisrael commentary to Mishnah Megillah. Since the text is to be added manually, the script just creates the new node with the correct parameters, and inserts it into the correct location in the schema.

new_node.validate()

# Add new node to correct position
attach_branch(new_node=new_node, parent_node=parent_node_mey, place=3)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

place=3 will insert it before the fourth node, i.e. before chapter 3. i guess you want place=6

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for taking a look, @YishaiGlasner. Just replying here for the history even though we clarified by phone... assuming the node needs to be inserted at this level (vs a chapter level) this should be the correct approach.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants