<commit_before>###############################################################################
# Caleydo - Visualization for Molecular Biology - http://caleydo.org
# Copyright (c) The Caleydo Team. All rights reserved.
# Licensed under the new BSD license, available at http://caleydo.org/license
###############################################################################

import os
import sys
sys.path.insert(0, os.path.abspath('/phovea/phovea_server/phovea_server'))

if __name__ == '__main__':
  import launch
  launch.run()
else:
  import launch
  application = launch.create_embedded()
  print('run as embedded version: %s', application)<commit_msg>removed hard coded file path<commit_after>###############################################################################
# Caleydo - Visualization for Molecular Biology - http://caleydo.org
# Copyright (c) The Caleydo Team. All rights reserved.
# Licensed under the new BSD license, available at http://caleydo.org/license
###############################################################################

import os
import sys
path = os.path.dirname(os.path.realpath(__file__))
# required to import files in python 3.7
sys.path.insert(0, os.path.abspath(path + '/phovea_server'))

if __name__ == '__main__':
  import launch
  launch.run()
else:
  import launch
  application = launch.create_embedded()
  print('run as embedded version: %s', application)
{'fraction_non_alphanumeric': 0.3104181431608788, 'fraction_numerical': 0.002834868887313962, 'mean_word_length': 6.316062176165803, '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': '6556096', 'n_tokens_mistral': 388, 'n_tokens_neox': 361, 'n_words': 107}