tested new scripts to update shebang, all files got same shebang (and for python files encoding)

This commit is contained in:
Martin Diehl 2014-04-01 18:41:14 +00:00
parent 782b54a430
commit 342ca0be47
76 changed files with 105 additions and 18 deletions

View File

@ -1,4 +1,5 @@
#!/usr/bin/env python
# -*- coding: UTF-8 no BOM -*-
import numpy,os,damask,string,sys,subprocess,re
from optparse import OptionParser, Option

View File

@ -1,5 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# -*- coding: UTF-8 no BOM -*-
import os
import glob
from subprocess import call

View File

@ -1,5 +1,5 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# -*- coding: UTF-8 no BOM -*-
from subprocess import call
call('DAMASK_spectral -l tensionX.load -g 20grains16x16x16.geom', shell=True)

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
DEFAULT_VERSION='2013.1'

View File

@ -1,4 +1,6 @@
#!/usr/bin/env python
# -*- coding: UTF-8 no BOM -*-
import os
import damask

View File

@ -1,4 +1,5 @@
#!/usr/bin/env python
# -*- coding: UTF-8 no BOM -*-
# Makes postprocessing routines acessible from everywhere.
import os

View File

@ -1,3 +1,5 @@
# -*- coding: UTF-8 no BOM -*-
# $Id$
import sys, os

View File

@ -1,3 +1,5 @@
# -*- coding: UTF-8 no BOM -*-
# $Id$
class ASCIItable():

View File

@ -1,5 +1,4 @@
#!/usr/bin/env python
# -*- coding: UTF-8 no BOM -*-
### --- COLOR CLASS --------------------------------------------------

View File

@ -1,3 +1,5 @@
# -*- coding: UTF-8 no BOM -*-
# $Id$
from .material import Material

View File

@ -1,3 +1,5 @@
# -*- coding: UTF-8 no BOM -*-
# $Id$
import re

View File

@ -1,3 +1,5 @@
# -*- coding: UTF-8 no BOM -*-
# $Id$
import re

View File

@ -1,3 +1,5 @@
# -*- coding: UTF-8 no BOM -*-
# $Id$
import os,sys,string,re,subprocess,shlex

View File

@ -1,3 +1,5 @@
# -*- coding: UTF-8 no BOM -*-
# $Id$
from .geometry import Geometry # only one class

View File

@ -1,3 +1,5 @@
# -*- coding: UTF-8 no BOM -*-
# $Id$
import damask.geometry

View File

@ -1,3 +1,5 @@
# -*- coding: UTF-8 no BOM -*-
# $Id$
from .geometry import Geometry

View File

@ -1,3 +1,5 @@
# -*- coding: UTF-8 no BOM -*-
# $Id$
from .geometry import Geometry

View File

@ -1,3 +1,5 @@
# -*- coding: UTF-8 no BOM -*-
import numpy,math,random
# ******************************************************************************************

View File

@ -1,3 +1,5 @@
# -*- coding: UTF-8 no BOM -*-
# $Id$
import numpy as np

View File

@ -1,3 +1,5 @@
# -*- coding: UTF-8 no BOM -*-
# $Id$
# This tool converts a msc.marc result file into the vtk format that
# can be viewed by Paraview software (Kitware), or MayaVi (needs xml-vtk, or ...

View File

@ -1,3 +1,5 @@
# -*- coding: UTF-8 no BOM -*-
# $Id$
from .solver import Solver # only one class

View File

@ -1,3 +1,5 @@
# -*- coding: UTF-8 no BOM -*-
# $Id$
from .solver import Solver

View File

@ -1,3 +1,5 @@
# -*- coding: UTF-8 no BOM -*-
# $Id$
import damask.solver

View File

@ -1,3 +1,5 @@
# -*- coding: UTF-8 no BOM -*-
# $Id$
from .solver import Solver

View File

@ -1,3 +1,5 @@
# -*- coding: UTF-8 no BOM -*-
# $Id$
from .test import Test

View File

@ -1,4 +1,5 @@
#!/usr/bin/env python
# -*- coding: UTF-8 no BOM -*-
# $Id$
import os, sys, shlex, inspect

View File

@ -1,3 +1,5 @@
# -*- coding: UTF-8 no BOM -*-
# damask utility functions
import math
try:

View File

@ -1,4 +1,5 @@
#!/usr/bin/env python
# -*- coding: UTF-8 no BOM -*-
import os,sys,string,re,numpy,scipy.ndimage,scipy.signal,vtk
import damask

View File

@ -1,5 +1,5 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# -*- coding: UTF-8 no BOM -*-
import os,sys,string,re,numpy,scipy.ndimage,scipy.signal,vtk
import damask

View File

@ -1,4 +1,5 @@
#!/usr/bin/env python
# -*- coding: UTF-8 no BOM -*-
import os,re,sys,math,string,damask,numpy
from optparse import OptionParser, Option

View File

@ -1,4 +1,5 @@
#!/usr/bin/env python
# -*- coding: UTF-8 no BOM -*-
import os,re,sys,math,numpy,string,damask
from collections import defaultdict

View File

@ -1,4 +1,5 @@
#!/usr/bin/env python
# -*- coding: UTF-8 no BOM -*-
import os,re,sys,math,string,h5py
import numpy as np

View File

@ -1,4 +1,5 @@
#!/usr/bin/env python
# -*- coding: UTF-8 no BOM -*-
import os,re,sys,math,string,numpy,damask
from optparse import OptionParser, Option

View File

@ -1,4 +1,5 @@
#!/usr/bin/env python
# -*- coding: UTF-8 no BOM -*-
import os,re,sys,math,string,numpy,damask
from optparse import OptionParser, Option

View File

@ -1,4 +1,5 @@
#!/usr/bin/env python
# -*- coding: UTF-8 no BOM -*-
import os,re,sys,math,string,numpy,damask
from optparse import OptionParser, Option

View File

@ -1,4 +1,5 @@
#!/usr/bin/env python
# -*- coding: UTF-8 no BOM -*-
import os,re,sys,math,string,damask
from optparse import OptionParser, Option

View File

@ -1,4 +1,5 @@
#!/usr/bin/env python
# -*- coding: UTF-8 no BOM -*-
import os,re,sys,math,string,damask
from optparse import OptionParser, Option

View File

@ -1,4 +1,5 @@
#!/usr/bin/env python
# -*- coding: UTF-8 no BOM -*-
import os,re,sys,math,string,numpy,damask
from optparse import OptionParser, Option

View File

@ -1,4 +1,5 @@
#!/usr/bin/env python
# -*- coding: UTF-8 no BOM -*-
import os,re,sys,math,numpy,string,damask
from optparse import OptionParser, Option

View File

@ -1,4 +1,5 @@
#!/usr/bin/env python
# -*- coding: UTF-8 no BOM -*-
import os,re,sys,math,numpy,string,damask
from scipy import ndimage

View File

@ -1,4 +1,5 @@
#!/usr/bin/env python
# -*- coding: UTF-8 no BOM -*-
import os,sys,string,re,math,numpy
import damask

View File

@ -1,4 +1,5 @@
#!/usr/bin/env python
# -*- coding: UTF-8 no BOM -*-
import os,re,sys,math,numpy,string,damask
from optparse import OptionParser, Option

View File

@ -1,4 +1,5 @@
#!/usr/bin/env python
# -*- coding: UTF-8 no BOM -*-
import os,re,sys,math,string,damask
from optparse import OptionParser, Option

View File

@ -1,4 +1,5 @@
#!/usr/bin/env python
# -*- coding: UTF-8 no BOM -*-
import os,sys,string,itertools,re,math,numpy
import damask

View File

@ -1,4 +1,5 @@
#!/usr/bin/env python
# -*- coding: UTF-8 no BOM -*-
import os,re,sys,math,numpy,string,damask
from optparse import OptionParser, Option

View File

@ -1,4 +1,5 @@
#!/usr/bin/python
#!/usr/bin/env python
# -*- coding: UTF-8 no BOM -*-
import os,re,sys,math
from optparse import OptionParser

View File

@ -1,4 +1,5 @@
#!/usr/bin/env python
# -*- coding: UTF-8 no BOM -*-
import os,re,sys,math,numpy,string,damask
from optparse import OptionParser, Option

View File

@ -1,4 +1,5 @@
#!/usr/bin/env python
# -*- coding: UTF-8 no BOM -*-
import os,re,sys,math,numpy,string,damask
from optparse import OptionParser, Option

View File

@ -1,4 +1,5 @@
#!/usr/bin/env python
# -*- coding: UTF-8 no BOM -*-
import os,re,sys,math,string,numpy,damask,time
from optparse import OptionParser, Option

View File

@ -1,4 +1,5 @@
#!/usr/bin/env python
# -*- coding: UTF-8 no BOM -*-
import os,sys,string,numpy
from optparse import OptionParser, Option

View File

@ -1,4 +1,5 @@
#!/usr/bin/env python
# -*- coding: UTF-8 no BOM -*-
import os,re,sys,math,string,numpy,damask,time
from optparse import OptionParser, Option

View File

@ -1,4 +1,5 @@
#!/usr/bin/env python
# -*- coding: UTF-8 no BOM -*-
import os,re,sys,math,string,damask
from optparse import OptionParser, Option

View File

@ -1,4 +1,5 @@
#!/usr/bin/env python
# -*- coding: UTF-8 no BOM -*-
import os,re,sys,math,string,damask
from optparse import OptionParser, Option

View File

@ -1,4 +1,5 @@
#!/usr/bin/env python
# -*- coding: UTF-8 no BOM -*-
import os,re,sys,fnmatch,math,string,damask
from optparse import OptionParser, Option

View File

@ -1,4 +1,5 @@
#!/usr/bin/env python
#!/usr/bin/env python
# -*- coding: UTF-8 no BOM -*-
import os, sys, math, string, numpy, shutil
import damask

View File

@ -1,4 +1,5 @@
#!/usr/bin/env python
#!/usr/bin/env python
# -*- coding: UTF-8 no BOM -*-
import os, sys, math, string, re, time
import damask

View File

@ -1,4 +1,5 @@
#!/usr/bin/env python
#!/usr/bin/env python
# -*- coding: UTF-8 no BOM -*-
import sys, string
import damask

View File

@ -1,4 +1,5 @@
#!/usr/bin/env python
# -*- coding: UTF-8 no BOM -*-
import os,re,sys,math,string,numpy,damask
from optparse import OptionParser, Option

View File

@ -1,4 +1,5 @@
#!/usr/bin/env python
# -*- coding: UTF-8 no BOM -*-
import math, string, sys, os
from damask import Color,Colormap

View File

@ -1,4 +1,5 @@
#!/usr/bin/env python
# -*- coding: UTF-8 no BOM -*-
import os,re,sys,math,numpy,string
import damask

View File

@ -1,4 +1,5 @@
#!/usr/bin/env python
#!/usr/bin/env python
# -*- coding: UTF-8 no BOM -*-
import pdb, os, sys, gc, math, re, threading, time, struct, string
import damask

View File

@ -1,4 +1,5 @@
#!/usr/bin/env python
# -*- coding: UTF-8 no BOM -*-
import os,sys,string,damask
from optparse import OptionParser

View File

@ -1,4 +1,5 @@
#!/usr/bin/env python
# -*- coding: UTF-8 no BOM -*-
import os,re,sys,string,numpy,damask
from optparse import OptionParser, Option

View File

@ -1,4 +1,5 @@
#!/usr/bin/env python
# -*- coding: UTF-8 no BOM -*-
import os,re,sys,math,string,numpy,damask,time
from optparse import OptionParser, Option

View File

@ -1,4 +1,5 @@
#!/usr/bin/env python
# -*- coding: UTF-8 no BOM -*-
import os,re,sys,math,string,damask
from optparse import OptionParser, Option

View File

@ -1,6 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# -*- coding: UTF-8 no BOM -*-
import os,numpy,string,math,sys
from optparse import OptionParser, Option

View File

@ -1,4 +1,5 @@
#!/usr/bin/env python
#!/usr/bin/env python
# -*- coding: UTF-8 no BOM -*-
import os, sys, string, glob, re
import damask

View File

@ -1,4 +1,5 @@
#!/usr/bin/env python
# -*- coding: UTF-8 no BOM -*-
import os,sys,string,re,numpy,vtk
import damask

View File

@ -1,4 +1,5 @@
#!/usr/bin/env python
# -*- coding: UTF-8 no BOM -*-
import os,sys,string,re,numpy,vtk
import damask

View File

@ -1,4 +1,5 @@
#!/usr/bin/env python
# -*- coding: UTF-8 no BOM -*-
import os,sys,string,re,numpy,vtk
import damask

View File

@ -1,4 +1,5 @@
#!/usr/bin/env python
#!/usr/bin/env python
# -*- coding: UTF-8 no BOM -*-
import os, sys, string, re, shutil
from optparse import OptionParser

View File

@ -1,4 +1,5 @@
#!/usr/bin/env python
# -*- coding: UTF-8 no BOM -*-
import os,sys,string,re,numpy,vtk
import damask

View File

@ -1,5 +1,6 @@
#!/usr/bin/env python
# -*- coding: UTF-8 no BOM -*-
# -*- coding: UTF-8 no BOM -*-
import os,sys,string,re,math,numpy
import damask

View File

@ -1,5 +1,4 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os,sys,math,string,re,numpy
import damask

View File

@ -1,5 +1,5 @@
#!/usr/bin/env python
# -*- coding: UTF-8 no BOM -*
# -*- coding: UTF-8 no BOM -*-
import sys,os,pwd,math,re,string,numpy, damask
from optparse import OptionParser

View File

@ -1,4 +1,5 @@
#!/usr/bin/env python
# -*- coding: UTF-8 no BOM -*-
import os,sys,string,numpy,damask
from optparse import OptionParser, Option