def get_barcode_stats(self, barcode):
filename = barcode + "<STR_LIT>"<EOL>file_id = dxpy.find_one_data_object(<EOL>zero_ok=False,<EOL>project=self.dx_project_id,<EOL>name=filename)["<STR_LIT:id>"]<EOL>json_data = json.loads(dxpy.open_dxfile(file_id).read())<EOL>return json_data<EOL>
Loads the JSON in a ${barcode}_stats.json file in the DNAnexus project (usually in the qc
folder).