<commit_before>#!/usr/bin/python3
# -*- coding: utf-8 -*-

from __future__ import division  # 少数点以下表示のためのモジュール

### For logging to current dir/log_dir
import os
from sys import platform as _platform
from kivy.config import Config
Config.set('kivy', 'log_name', _platform+'_kivy_%y-%m-%d_%_.txt')
Config.set('kivy', 'log_level', 'debug')
Config.set('kivy', 'log_dir', os.path.dirname(os.path.abspath(__file__))+'/logs/')

from functools import partial
# from kivy.lang import Builder
from kivy.uix.widget import Widget
# from kivy.uix.screenmanager import ScreenManager, Screen
from kivy.uix.boxlayout import BoxLayout
from kivy.uix.slider import Slider
from kivy.uix.tabbedpanel import TabbedPanel
from kivy.uix.textinput import TextInput
from kivy.uix.label import Label
from kivy.uix.button import Button
from kivy.properties import NumericProperty, BooleanProperty, ListProperty, ObjectProperty
from kivy.garden.graph import Graph, MeshLinePlot
from kivy.clock import Clock
from kivy.app import App

# Importing my modules
import e3640a_prologix as BPHV
import hioki
import gid7 ### for ion guage
from kivy.properties import StringProperty
import datetime as dtm
import time
import random
import numpy as np
import plot_tdepend as tdep
import email_pdf as epdf

# Device settings
VeAddr = 5
IcAddr = 1
IgAddr = 2

if _platform == "linux" or _platform == "linux2":
    # linux
    tty = '/dev/ttyUSB0'
    ttyRS232 = '/dev/tty.usbserial-FTAJM1O6'
elif _platform == "darwin":
    # OS X
    tty = '/dev/tty.usbserial-PXWV0AMC'
    ttyRS232 = '/dev/tty.usbserial-FTAJM1O6'
elif _platform == "win32":
    # Windows...
    # tty =
    pass

# Load sequence configuration<commit_msg>Revise dev file for linux<commit_after>#!/usr/bin/python3
# -*- coding: utf-8 -*-

from __future__ import division  # 少数点以下表示のためのモジュール

### For logging to current dir/log_dir
import os
from sys import platform as _platform
from kivy.config import Config
Config.set('kivy', 'log_name', _platform+'_kivy_%y-%m-%d_%_.txt')
Config.set('kivy', 'log_level', 'debug')
Config.set('kivy', 'log_dir', os.path.dirname(os.path.abspath(__file__))+'/logs/')

from functools import partial
# from kivy.lang import Builder
from kivy.uix.widget import Widget
# from kivy.uix.screenmanager import ScreenManager, Screen
from kivy.uix.boxlayout import BoxLayout
from kivy.uix.slider import Slider
from kivy.uix.tabbedpanel import TabbedPanel
from kivy.uix.textinput import TextInput
from kivy.uix.label import Label
from kivy.uix.button import Button
from kivy.properties import NumericProperty, BooleanProperty, ListProperty, ObjectProperty
from kivy.garden.graph import Graph, MeshLinePlot
from kivy.clock import Clock
from kivy.app import App

# Importing my modules
import e3640a_prologix as BPHV
import hioki
import gid7 ### for ion guage
from kivy.properties import StringProperty
import datetime as dtm
import time
import random
import numpy as np
import plot_tdepend as tdep
import email_pdf as epdf

# Device settings
VeAddr = 5
IcAddr = 1
IgAddr = 2

if _platform == "linux" or _platform == "linux2":
    # linux
    tty = '/dev/ttyUSB0'
    ttyRS232 = '/dev/ttyUSB1'
elif _platform == "darwin":
    # OS X
    tty = '/dev/tty.usbserial-PXWV0AMC'
    ttyRS232 = '/dev/tty.usbserial-FTAJM1O6'
elif _platform == "win32":
    # Windows...
    # tty =
    pass

# Load sequence configuration
{'fraction_non_alphanumeric': 0.0988978254393804, 'fraction_numerical': 0.01459636580280012, 'mean_word_length': 4.532125205930807, 'pattern_counts': {'":': 6, '<': 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': '3235971', 'n_tokens_mistral': 1222, 'n_tokens_neox': 1177, 'n_words': 343}