code: def data_input_and_res_time_analysis(self):
          
          self.topol_data = Data()
          self.topol_data.load_data(self.topology,self.mol_file,self.ligand,self.offset)
          if len(self.trajectory) == 0:
              self.topol_data.analyse_topology(self.topology,self.cutoff)
          else:
              self.res_time = Residence_time(self.topol_data,self.trajectory, self.start, self.end, self.skip,self.topology, self.ligand,self.offset)
              self.res_time.measure_residence_time(self.cutoff)
              self.res_time.define_residues_for_plotting_traj(self.analysis_cutoff)
              self.topol_data.find_the_closest_atoms(self.topology)
docs: Loads the data into Data() - renumbers the residues, imports mol file in rdkit.
          If there are trajectories to analyse, the residues that will be plotted are determined
          from Residence_time() analysis.