<commit_before>#!/usr/bin/env python

import sys
import argparse
import numpy
from numpy import array
import dadi
from datetime import datetime


def get_args():
    # parse command line arguments
    parser = argparse.ArgumentParser(description='Run dadi analysis')
    parser.add_argument("sfs", help="SFS in dadi format",
                    type=argparse.FileType('r'))
    parser.add_argument("-f", "--fold", help="Fold the SFS before analysis",
                        action="store_true")
    return parser.parse_args()

args = get_args()

startTime = datetime.now()

data = dadi.Spectrum.from_file(args.sfs)<commit_msg>changed permissions to executable for dadi_neutral.py<commit_after>#!/usr/bin/env python

import sys
import argparse
import numpy
from numpy import array
import dadi
from datetime import datetime


def get_args():
    # parse command line arguments
    parser = argparse.ArgumentParser(description='Run dadi analysis')
    parser.add_argument("sfs", help="SFS in dadi format",
                    type=argparse.FileType('r'))
    parser.add_argument("-f", "--fold", help="Fold the SFS before analysis",
                        action="store_true")
    return parser.parse_args()

args = get_args()

startTime = datetime.now()

data = dadi.Spectrum.from_file(args.sfs)
{'fraction_non_alphanumeric': 0.10896445131375579, 'fraction_numerical': 0.0, 'mean_word_length': 3.543859649122807, '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': '6047099', 'n_tokens_mistral': 383, 'n_tokens_neox': 369, 'n_words': 104}