#!/usr/bin/env python2

import pickle, sys
sys.path.append('../')
from lewas.parsers import UnitParser, AttrParser, field_rangler
import lewas.datastores
import lewas.models

config = "../config"
config = lewas.readConfig(config)
lewas.datastores.submitRequest(pickle.load(open(sys.argv[1])), config, False)

#!/usr/bin/env python2

import pickle, sys
sys.path.append('../')
from lewas.parsers import UnitParser, AttrParser, field_rangler
import lewas.datastores
import lewas.models

config = "../config"
config = lewas.readConfig(config)
for fn in sys.argv[1:]:
    lewas.datastores.submitRequest(pickle.load(open(fn)), config, False)
    print "processed", fn

Add capability to resubmit multiple files
Add capability to resubmit multiple files
