<commit_before>
In the March migration, newly imported records were parked under a study_id with study_id 10215. The taxonlabelset table failed to have its study_id remapped to the newly created studies, so instead it retained the original temporary study_id. The update_taxonlabelset.sql query updates the study_id field in the taxonlabelset 

In the March migration, newly created treeblock records received NULL values for taxonlabelset_id, causing the download of trees to fail and causing a selection of trees under the Trees tab to fail to show the related selection of taxa after clicking on the Taxa tab. The map_treeblock_to_taxonlabelset.sql query addresses the problem by updating the treeblock's taxonlabelset_id using a value from one of the matrices related by way of an analysisstep. 
<commit_msg>Some line breaks. <commit_after>
In the March migration, newly imported records were parked under a study_id with study_id 10215. The taxonlabelset table failed 
to have its study_id remapped to the newly created studies, so instead it retained the original temporary study_id. 
The update_taxonlabelset.sql query updates the study_id field in the taxonlabelset 

In the March migration, newly created treeblock records received NULL values for taxonlabelset_id, causing the download of trees to fail and 
causing a selection of trees under the Trees tab to fail to show the related selection of taxa after clicking on the Taxa tab. 
The map_treeblock_to_taxonlabelset.sql query addresses the problem by updating the treeblock's taxonlabelset_id using a value 
from one of the matrices related by way of an analysisstep. 

{'fraction_non_alphanumeric': 0.017747858017135864, 'fraction_numerical': 0.006119951040391677, 'mean_word_length': 5.193181818181818, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6889214', 'n_tokens_mistral': 412, 'n_tokens_neox': 397, 'n_words': 239}