<commit_before>#!/bin/bash

mkdir ./biojs_install_temp
cd ./biojs_install_temp
npm install biojs2galaxy
./node_modules/biojs2galaxy/biojs2galaxy.js msa -o $GALAXY_ROOT/config/plugins/visualizations/
cd ..
rm -r ./biojs_install_temp<commit_msg>fix and enhance biojs installation<commit_after>#!/bin/bash

mkdir ./biojs_install_temp
cd ./biojs_install_temp
npm install biojs2galaxy

for vis in "$@"; do
    echo "Installing BioJS Visualization:\t $vis"
    ./node_modules/biojs2galaxy/biojs2galaxy.js $vis -o $GALAXY_ROOT/config/plugins/visualizations/
done

cd ..
rm -r ./biojs_install_temp
{'fraction_non_alphanumeric': 0.11035653650254669, 'fraction_numerical': 0.010186757215619695, 'mean_word_length': 4.728155339805825, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7029225', 'n_tokens_mistral': 228, 'n_tokens_neox': 215, 'n_words': 45}